home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / sizeof < prev    next >
Text File  |  2001-08-02  |  607b  |  21 lines

  1. SYNOPSIS
  2.         int sizeof(mixed * val)
  3.         int sizeof(string  val)
  4.         int sizeof(mapping val)
  5.  
  6. DESCRIPTION
  7.         Returns the number of elements of an array, the number of characters
  8.         in a string, or the number of keys in a mapping.
  9.  
  10.         For scalar values (like integers), 0 is returned.
  11.  
  12.         Note: this efun is also available under the name 'm_sizeof(E)'.
  13.         Usage of that name however is deprecated.
  14.  
  15. HISTORY
  16.         LDMud 3.2.9 added strings to the possible parameters.
  17.  
  18. SEE ALSO
  19.         strlen(E), allocate(E), pointerp(E),
  20.         mappingp(E), m_allocate(E), widthof(E)
  21.